home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q97 / 5 / 99.TXT < prev   
Text File  |  1993-09-28  |  17KB  |  330 lines

  1. DOCUMENT:Q97599  27-SEP-1993  [W_NT]
  2. TITLE   :Windows NT RAS Registry Parameters
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ---------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12. ---------------------------------------------------------------------
  13.  
  14. WARNING: Using Registry Editor incorrectly can cause
  15.      serious, system-wide problems that may require you to
  16.      reinstall Windows NT to correct them. Microsoft cannot
  17.      guarantee that any problems resulting from the use of
  18.      Registry Editor can be solved. Use this tool at your own
  19.      risk.
  20.  
  21. Summary:
  22.  
  23. Remote Access generally supplies good default values for the Remote
  24. Access Service (RAS) parameters. However, for some systems, you may
  25. want to adjust individual parameters to suit your particular
  26. performance and security needs. 
  27.  
  28. This article provides a complete list of parameters that can be
  29. adjusted in the Registry Database (use Registration Information
  30. Editor), arranged in the following categories:
  31.  
  32.  - Remote Access Parameters
  33.  - NetbiosGateway Parameters
  34.  - AsyncMac Parameters
  35.  - RasHub Parameters
  36.  
  37. Note: Every value listed in this article uses a REG_DWORD data type,
  38. except for NetworkAddress, which uses a REG_SZ data type. 
  39.  
  40. WARNING: Registration Information Editor (REGEDT32.EXE) is a very        
  41. powerful utility that allows you to directly change the Registry        
  42. Database. Using Registration Information Editor incorrectly can        
  43. cause serious problems, including hard disk corruption. It may be        
  44. necessary to reinstall the software to correct any problems.        
  45. Microsoft does not support changes made with Registration        
  46. Information Editor. Use this tool at your own risk.
  47.  
  48. For information on adding Registry values, see the online help
  49. provided for Registration Information Editor, or query on the
  50. following here in the the Microsoft Knowledge Base: 
  51.  
  52.    modify and ras and registry
  53.  
  54.  
  55. REMOTE ACCESS PARAMETERS
  56. ------------------------
  57.  
  58. Remote Access parameters are listed by parameter name and can be found
  59. in the following Registry subkey:
  60.  
  61.    SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters
  62.  
  63. Parameter                Range         Use
  64. ----------------------------------------------------------------------
  65.  
  66. AuthenticateRetries      0-10          Sets the maximum number of 
  67.                          default = 2   unsuccessful retries at 
  68.                                        authentication.
  69.  
  70. AuthenticateTime         20-600 secs.  Sets the maximum amount of time 
  71.                          default: 120  a user is allowed to finish
  72.                                        authentication.
  73.  
  74. CallbackTime             2-12 secs.    Sets the time interval the 
  75.                          default: 2    server waits before calling the 
  76.                                        client back; client communicates 
  77.                                        the value of its own callback
  78.                                        time when connecting to a Remote 
  79.                                        Access server. If the client does 
  80.                                        not communicate a callback time
  81.                                        value (as with Remote Access 
  82.                                        1.0 and 1.1 clients), the value
  83.                                        of this parameter is used.
  84.  
  85. EnableAudit              0 = disabled  Enables or disables Remote
  86.                          1 = enabled   Access auditing 
  87.                          default: 1 
  88.  
  89. NetbiosGatewayEnabled    0 = disabled  Makes the server function like 
  90.                          1 = enabled   a NetBIOS gateway, allowing 
  91.                          default: 1    clients to access the LAN. If 
  92.                                        disabled, remote clients can 
  93.                                        access the files on the server 
  94.                                        in a point-to-point connection
  95.                                        only.
  96.  
  97. NumRecvQueryIndications  1-32          Allows Remote Access clients to
  98.                          default: 3    initiate simultaneous, multiple
  99.                                        network connections.
  100.  
  101.  
  102. NETBIOS GATEWAY PARAMETERS
  103. --------------------------
  104.  
  105. NetBIOS Gateway parameters are listed by parameter name and can be
  106. found in the following Registry subkey:
  107.  
  108.    SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters
  109.    \NetbiosGateway\Parameters
  110.  
  111. Parameter           Range             Use
  112. ---------------------------------------------------------------------- 
  113.  
  114. AutoDisconnect      0-60000 secs.     Sets the time terminal after
  115.                     default: 1200     which inactive connections are
  116.                       (20 mins,)      terminated. Inactivity is 
  117.                                       measured by lack of session data 
  118.                                       transfer. You may want to set 
  119.                                       this parameter to 0 seconds if 
  120.                                       clients are running NetBIOS 
  121.                                       datagram applications. Setting 
  122.                                       this parameter to 0 disables
  123.                                       AutoDisconnect.
  124.  
  125. DisableMcastFwd     0 = disabled      Allows session traffic to have 
  126. WhenSessionTraffic  1 = enabled       priority over multicast data- 
  127.                     default: 1        grams. This means that multicast 
  128.                                       datagrams are transferred only 
  129.                                       when there is no session traffic.
  130.  
  131. EnableBroadcast     0 = disabled      Determines whether broadcast
  132.                     1 = enabled       datagrams are forwarded to 
  133.                     default: 0        remove workstations. See 
  134.                                       MulticastForwardRate.
  135.   
  136. MaxBcastDgBuffered  16-255            Sets the number of broadcast 
  137.                     default: 32       datagrams that the gateway 
  138.                                       buffers for a client.
  139.  
  140. MaxDgBufferedPer    1-255             Sets the number of datagrams
  141. GroupName           default: 10       that can be buffered per group 
  142.                                       name. Because this setting is 
  143.                                       done in virtual memory, you can
  144.                                       set it high.
  145.  
  146. MaxDynMem           131072-           Sets the amount of virtual 
  147.                       4294967295      memory used to buffer NetBIOS 
  148.                     default: 655350   session data for each remote 
  149.                                       client. (See Note 1, below.)
  150.   
  151. MaxNames            1-255             Sets the number of unique
  152.                     default: 255)     NetBIOS names that each client
  153.                                       can have. NetBIOS stacks on the
  154.                                       LAN have a maximum of 255 names
  155.                                       allocated for all clients
  156.                                       (cumulative). For example: To 
  157.                                       allow 64 clients to connect
  158.                                       simultaneously, set this 
  159.                                       parameter to 3 or 4.
  160.  
  161. MaxSessions         1-255             Sets the maximum number of 
  162.                     default: 255      simultaneous NetBIOS sessions 
  163.                                       each client can have. NetBIOS 
  164.                                       stacks on the LAN have a maximum 
  165.                                       of 255 names allocated for all 
  166.                                       clients. (See Note 2, below.)
  167.   
  168. MultiCast           -1 to             Governs the multicasting of      
  169. ForwardRate           4294967295      server announcements (group name
  170.                       secs            datagrams) to all remote work- 
  171.                     default: 5        stations in a server's domain.
  172.                                        -1 Disables forwarding.
  173.                                         0 Guarantees delivery of group 
  174.                                           name datagrams.
  175.                                         n Forwards datagrams every n 
  176.                                            seconds.
  177.                                       (See Note 3, below.)
  178.  
  179. RcvDgSubmitted      1-32              Determines how many NetBIOS
  180. PerGroupName        default: 3        Receive Datagram commands can be 
  181.                                       submitted simultaneously for each 
  182.                                       group name on the LAN stack. Keep 
  183.                                       this setting as small as possible 
  184.                                       to minimize the amount of memory 
  185.                                       consumed by system resources. Each
  186.                                       datagram command received locks 
  187.                                       about 1.5K of physical memory in 
  188.                                       the system.
  189.  
  190. RemoteListen        0-2               Sets the remote NCB_LISTEN capa-
  191.                     default: 1        bility. (Microsoft recommends
  192.                                       using the default value.)
  193.                                         0 Client can't post NCB_LISTEN 
  194.                                           for any NetBIOS name.
  195.                                         1 Remote client can receive 
  196.                                           messages from LAN users and 
  197.                                           printers. Client can post 
  198.                                           NCB_LISTEN on Windows NT 
  199.                                           Advanced Server aliases only.
  200.                                         2 Enables NCB_LISTEN for all 
  201.                                           remote client NetBIOS names,
  202.                                           enabling them to run NetBIOS 
  203.                                           server applications and to 
  204.                                           act as servers on the network.
  205.                                        (See Note 4, below.)
  206.  
  207. SizWorkBufs         1024-65536         Sets the size of work buffers. 
  208.                     default: 4500      The default setting is optimized 
  209.                                        for the server message block (SMB)
  210.                                        protocol, the protocol between the
  211.                                        workstation and the server running 
  212.                                        on Windows NT Advanced Server.
  213.  
  214. NOTES:
  215.  
  216. 1. Because the Remote Access server is a gateway between the slow 
  217.    line and the LAN, data is buffered in its memory when coming from
  218.    the fast line (LAN) to the slow (asynchronous) line. The Remote 
  219.    Access server minimizes the usage of physical memory by locking 
  220.    only a minimal set of pages (about 64K per client) and making use
  221.    of virtual memory to buffer the rest of the data. As long as you
  222.    have enough disk space on your backup store, you can increase 
  223.    this parameter if needed.    
  224.  
  225.    If you have an application with a LAN (fast) sender and an
  226.    async (slow) receiver, and if the sender is sending more data at
  227.    a time than the Remote Access server can buffer, the Remote 
  228.    Access server tries to apply a form of NetBIOS level flow control 
  229.    by not submitting NCB_RECEIVE on the session, until it has
  230.    enough buffer space to store incoming data. In this situation, 
  231.    you should increase your NetBIOS SEND and RECEIVE time-outs so 
  232.    that the fast sender can keep pace with the slow receiver.        
  233.  
  234. 2. For a gateway, you should set the size of Nbf to 3 (large).
  235.    This removes any limit on how much memory NetBEUI allows itself 
  236.    to use. A size of 2 means a limit of 300K, which is enough for 
  237.    about 64 normalconnections. The Registry subkey for this parameter
  238.    is SYSTEM\CurrentControlSet\Services\Nbf\Parameters.
  239.  
  240. 3. If there are many servers in the domain, the flow of announcements
  241.    may appear as a continuous stream of datagrams directed to
  242.    remote workstations. Because these announcements are repeated, 
  243.    they waste CPU cycles at workstations without any real information 
  244.    gain in return.The MultiCastForwardRate parameter makes it possible
  245.    to filter server announcements by forwarding them at a specified 
  246.    interval. 
  247.  
  248.    If the EnableBroadcast parameter is set to 0, then broadcasts are
  249.    not forwarded, even if the MultiCastForwardRate parameter is set 
  250.    to a positive number (in this case, only multicast datagrams are 
  251.    forwarded). If MultiCastForwardRate is set to -1, then broadcasts 
  252.    are still not forwarded even if EnableBroadcast is set to 1. (See 
  253.    the EnableBroadcast parameter.)
  254.  
  255. 4. The NCB_LISTEN capability can significantly drain system resources.
  256.    If the RemoteListen parameter is configured to 2, Remote Access 
  257.    posts an NCB_LISTEN on all NetBIOS names of Remote Access clients.
  258.    Considering that the average Windows NT Advanced Server workstation
  259.    has about 5 NetBIOS names assigned to it, the total number of 
  260.    NetBIOS names for which an NCB_LISTEN would be posted is 5 times 64
  261.   (the maximum number of clients per Remote Access server).
  262.  
  263.  
  264. ASYNC MAC PARAMETERS
  265. --------------------
  266.  
  267. Asynchronous Media Access Control (MAC) parameters are listed by
  268. parameter name and can be found in the following Registry subkey:
  269.  
  270. SYSTEM\CurrentControlSet\Services\AsyncMacn\Parameters
  271.  
  272.  
  273. Parameter           Range            Use
  274. ---------------------------------------------------------------------- 
  275.  
  276. FramesPerPort       2-20             Allocates frames for each dial-in
  277.                     default: 3       or dial-out port. Set this value
  278.                                      to the number of frames the 
  279.                                      transport may have outstanding at 
  280.                                      any given time.
  281.  
  282. IrpStackSize        1-10             Sets the number of device drivers
  283.                     default: 5       MAC is layered above. Increase 
  284.                                      this value only if the serial 
  285.                                      driver below the MAC needs more 
  286.                                      stack size.
  287.  
  288. MaxFrameSize        576-1514         Determines the maximum frame size
  289.                     default: 1514    Use smaller frames for noisy links.
  290.  
  291.  
  292. RAS HUB PARAMETERS
  293. ------------------
  294.  
  295. RAS Hub parameters are listed by parameter name and can be found in
  296. the following Registry subkey:
  297.  
  298.    SYSTEM\CurrentControlSet\Services\RasHub\Parameters
  299.  
  300.  
  301. Parameter           Range           Use
  302. ----------------------------------------------------------------------
  303.  
  304. NetworkAddress      -----           Reassigns the first 4 bytes of the 
  305.                                     6-byte IEEE address. For example,
  306.                                     if you reset the address to 
  307.                                     "03-1F-2C-81-92-34," only the first 
  308.                                     4 bytes are looked at. Reset this 
  309.                                     parameter in the RasHub\Parameters
  310.                                     subkey with the REG_SZ data type.
  311.   
  312. Additional reference words: 3.10 1.0 1.1 tune tuning
  313. KBCategory:
  314. KBSubCategory: NETSRV 
  315.  
  316. =============================================================================
  317.  
  318. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  319. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  320. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  321. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  322. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  323. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  324. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  325. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  326. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  327. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  328. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  329.  
  330. Copyright Microsoft Corporation 1993.